package com.teemor.blog.service;

import com.teemor.blog.entity.TbComment;
import com.teemor.blog.entity.condition.TbCommentCondition;
import java.util.List;

public interface ICommentService {
     /** @Function: com.teemor.blog.service.ICommentService.countComment
* @Description: 统计条数
* @param: condition
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    int countComment(TbCommentCondition condition);

     /** @Function: com.teemor.blog.service.ICommentService.qryComments
* @Description: 查询列表
* @param: condition
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    List<TbComment> qryComments(TbCommentCondition condition);

     /** @Function: com.teemor.blog.service.ICommentService.qryCommentById
* @Description: 根据主键查询
* @param: commentId
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    TbComment qryCommentById(Integer commentId);

     /** @Function: com.teemor.blog.service.ICommentService.addComment
* @Description: 插入信息
* @param: inParam
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    int addComment(TbComment inParam);

     /** @Function: com.teemor.blog.service.ICommentService.updCommentById
* @Description: 根据主键更新信息
* @param: inParam
* @return: int
* @version: v1.0.0
* @author: zhoulk
* @date: 2019/08/05 11:20:45
*
* Modification History:
* Date         Author          Version            Description
*------------------------------------------------------*
* 2019/08/05 11:20:45     zhoulk           v1.0.0             修改原因
*
*/
    int updCommentById(TbComment inParam);
}